package com.xx.account.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xx.common.annotation.Excel;
import com.xx.common.core.domain.BaseEntity;

/**
 * 分配订单对象 account_send_leaflet
 *
 * @author ruoyi
 * @date 2024-09-29
 */
public class AccountSendLeaflet
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 放单id */
    private String recordId;

    /** 投手id */
    private String workerId;

    /** 投手名称 */
    @Excel(name = "投手名称")
    private String workerName;

    /** 放单价格 */
    @Excel(name = "放单价格")
    private BigDecimal price;

    /** 放单数量 */
    @Excel(name = "放单数量")
    private Long count;

    /** 放单金额合计 */
    private BigDecimal workerPriceSum;

    /** 放单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public BigDecimal getWorkerPriceSum() {
        return workerPriceSum;
    }

    public void setWorkerPriceSum(BigDecimal workerPriceSum) {
        this.workerPriceSum = workerPriceSum;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public String getWorkerName() {
        return workerName;
    }

    public void setWorkerName(String workerName) {
        this.workerName = workerName;
    }

    public void setRecordId(String recordId)
    {
        this.recordId = recordId;
    }

    public String getRecordId()
    {
        return recordId;
    }
    public void setWorkerId(String workerId)
    {
        this.workerId = workerId;
    }

    public String getWorkerId()
    {
        return workerId;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setCount(Long count)
    {
        this.count = count;
    }

    public Long getCount()
    {
        return count;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("workerId", getWorkerId())
            .append("price", getPrice())
            .append("count", getCount())
            .toString();
    }
}
